package com.znsd.entitys;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties("handler")
public class BlogsInfo implements Serializable{
	
	/**
	 * @Fields serialVersionUID : TODO(序列化id)
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer blogs_id; //博客id 
	private Users user_id;   //发布人id
	private String blogs_title;//博客标题
	private String blogs_content;  //博客内容
	private Integer people_id; //指定谁看
	private Date blogs_createtime; //创建时间
	private Integer blogs_del; //删除状态0未删除，1已删除
	private Integer blogs_state; //审核状态0公开，1私有
	private Integer blogs_dzcount; //点赞数
	private Integer blogs_zfcount; // 转发数
	private SpecialtyInfo specialty;//专业id 
	private String blogs_dz;//点赞人用,隔开
	
	
	public String getBlogs_dz() {
		return blogs_dz;
	}

	public void setBlogs_dz(String blogs_dz) {
		this.blogs_dz = blogs_dz;
	}


	public SpecialtyInfo getSpecialty() {
		return specialty;
	}

	public void setSpecialty(SpecialtyInfo specialty) {
		this.specialty = specialty;
	}

	public String getBlogs_title() {
		return blogs_title;
	}

	public void setBlogs_title(String blogs_title) {
		this.blogs_title = blogs_title;
	}

	public Integer getBlogs_id() {
		return blogs_id;
	}

	public void setBlogs_id(Integer blogs_id) {
		this.blogs_id = blogs_id;
	}


	public Users getUser_id() {
		return user_id;
	}

	public void setUser_id(Users user_id) {
		this.user_id = user_id;
	}

	public String getBlogs_content() {
		return blogs_content;
	}

	public void setBlogs_content(String blogs_content) {
		this.blogs_content = blogs_content;
	}

	public Integer getPeople_id() {
		return people_id;
	}

	public void setPeople_id(Integer people_id) {
		this.people_id = people_id;
	}

	public Date getBlogs_createtime() {
		return blogs_createtime;
	}

	public void setBlogs_createtime(Date blogs_createtime) {
		this.blogs_createtime = blogs_createtime;
	}

	public Integer getBlogs_del() {
		return blogs_del;
	}

	public void setBlogs_del(Integer blogs_del) {
		this.blogs_del = blogs_del;
	}

	public Integer getBlogs_state() {
		return blogs_state;
	}

	public void setBlogs_state(Integer blogs_state) {
		this.blogs_state = blogs_state;
	}

	public Integer getBlogs_dzcount() {
		return blogs_dzcount;
	}

	public void setBlogs_dzcount(Integer blogs_dzcount) {
		this.blogs_dzcount = blogs_dzcount;
	}

	public Integer getBlogs_zfcount() {
		return blogs_zfcount;
	}

	public void setBlogs_zfcount(Integer blogs_zfcount) {
		this.blogs_zfcount = blogs_zfcount;
	}

	@Override
	public String toString() {
		return "BlogsInfo [blogs_id=" + blogs_id + ", user_id=" + "" + ", blogs_content=" + blogs_content
				+ ", people_id=" + people_id + ", blogs_createtime=" + blogs_createtime + ", blogs_del=" + blogs_del
				+ ", blogs_state=" + blogs_state + ", blogs_dzcount=" + blogs_dzcount + ", blogs_zfcount="
				+ blogs_zfcount + "]";
	}
	
}
